package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品SKU对象 product_sku
 * 
 * @author ruoyi
 * @date 2025-03-15
 */

public class ProductSku extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * supu ID
     */
    @Excel(name = "supu ID")
    private Long productSpu;



    private String spuCode;

    /**
     * SKU编码
     */
    @Excel(name = "SKU编码")
    private String skuCode;

    /**
     * 规格名称
     */
    @Excel(name = "规格名称")
    private String specification;

    /**
     * 重量
     */
    @Excel(name = "重量")
    private BigDecimal weight;

    /**
     * 重量单位
     */
    @Excel(name = "重量单位")
    private String weightUnit;

    /**
     * 商品售卖单位
     */
    @Excel(name = "商品售卖单位")
    private String salesUnit;

    /**
     * 包装号
     */
    @Excel(name = "包装号")
    private String packageNumber;

    /**
     * 商品条码
     */
    @Excel(name = "商品条码")
    private String barcode;

    /**
     * 进项税
     */
    @Excel(name = "进项税")
    private BigDecimal inputTaxRate;

    /**
     * 销项税
     */
    @Excel(name = "销项税")
    private BigDecimal outputTaxRate;

    /**
     * 最小购买数量
     */
    @Excel(name = "最小购买数量")
    private Long minPurchaseQuantity;

    /**
     * 外部编码
     */
    @Excel(name = "外部编码")
    private String externalCode;

    /**
     * 商品属性
     */
    @Excel(name = "商品属性")
    private String productAttributes;

    /**
     * 商品卖点
     */
    @Excel(name = "商品卖点")
    private String productSellingPoints;

    /**
     * 商品描述
     */
    @Excel(name = "商品描述")
    private String productDescription;

    /**
     * 总部零售价
     */
    @Excel(name = "总部零售价")
    private BigDecimal headquartersRetailPrice;

    /**
     * 删除标志（0存在 2删除）
     */
    private String delFlag;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductSpu() {
        return productSpu;
    }

    public void setProductSpu(Long productSpu) {
        this.productSpu = productSpu;
    }

    public String getSpuCode() {
        return spuCode;
    }

    public void setSpuCode(String spuCode) {
        this.spuCode = spuCode;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public String getWeightUnit() {
        return weightUnit;
    }

    public void setWeightUnit(String weightUnit) {
        this.weightUnit = weightUnit;
    }

    public String getSalesUnit() {
        return salesUnit;
    }

    public void setSalesUnit(String salesUnit) {
        this.salesUnit = salesUnit;
    }

    public String getPackageNumber() {
        return packageNumber;
    }

    public void setPackageNumber(String packageNumber) {
        this.packageNumber = packageNumber;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public BigDecimal getInputTaxRate() {
        return inputTaxRate;
    }

    public void setInputTaxRate(BigDecimal inputTaxRate) {
        this.inputTaxRate = inputTaxRate;
    }

    public BigDecimal getOutputTaxRate() {
        return outputTaxRate;
    }

    public void setOutputTaxRate(BigDecimal outputTaxRate) {
        this.outputTaxRate = outputTaxRate;
    }

    public Long getMinPurchaseQuantity() {
        return minPurchaseQuantity;
    }

    public void setMinPurchaseQuantity(Long minPurchaseQuantity) {
        this.minPurchaseQuantity = minPurchaseQuantity;
    }

    public String getExternalCode() {
        return externalCode;
    }

    public void setExternalCode(String externalCode) {
        this.externalCode = externalCode;
    }

    public String getProductAttributes() {
        return productAttributes;
    }

    public void setProductAttributes(String productAttributes) {
        this.productAttributes = productAttributes;
    }

    public String getProductSellingPoints() {
        return productSellingPoints;
    }

    public void setProductSellingPoints(String productSellingPoints) {
        this.productSellingPoints = productSellingPoints;
    }

    public String getProductDescription() {
        return productDescription;
    }

    public void setProductDescription(String productDescription) {
        this.productDescription = productDescription;
    }

    public BigDecimal getHeadquartersRetailPrice() {
        return headquartersRetailPrice;
    }

    public void setHeadquartersRetailPrice(BigDecimal headquartersRetailPrice) {
        this.headquartersRetailPrice = headquartersRetailPrice;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "ProductSku{" +
                "id=" + id +
                ", productSpu=" + productSpu +
                ", spuCode=" + spuCode +
                ", skuCode='" + skuCode + '\'' +
                ", specification='" + specification + '\'' +
                ", weight=" + weight +
                ", weightUnit='" + weightUnit + '\'' +
                ", salesUnit='" + salesUnit + '\'' +
                ", packageNumber='" + packageNumber + '\'' +
                ", barcode='" + barcode + '\'' +
                ", inputTaxRate=" + inputTaxRate +
                ", outputTaxRate=" + outputTaxRate +
                ", minPurchaseQuantity=" + minPurchaseQuantity +
                ", externalCode='" + externalCode + '\'' +
                ", productAttributes='" + productAttributes + '\'' +
                ", productSellingPoints='" + productSellingPoints + '\'' +
                ", productDescription='" + productDescription + '\'' +
                ", headquartersRetailPrice=" + headquartersRetailPrice +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}





